package com.woniuxy.yygh.hsop;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.EnableLoadTimeWeaving;

import java.text.SimpleDateFormat;

/**
 * <P> @Author: ideaAdmin
 * <P> TODO: Class
 * <P> TODO:
 * <P> Date: 2022/2/27:13:15
 * <P> Description:
 */
@SpringBootApplication
@ComponentScan(basePackages = "com.woniuxy")
@EnableDiscoveryClient //开启nacos注册
@EnableFeignClients(basePackages = "com.woniuxy") //自动开启远程调用
public class ServiceHospApplication {
    public static void main(String[] args) {

        SpringApplication.run(ServiceHospApplication.class, args);
    }
}
